package org.my.workflow;

import java.util.List;

import org.my.workflow.element.StepElement;
import org.my.workflow.persistence.WorkflowStatus;
import org.my.workflow.persistence.StepEntity;

/**
 * @author <a href="mailto:yang_y@sysnet.com.cn">Young Yang</a>
 */
public interface WorkflowContext {

    String getWorkflowId();

    String getCaller();

    StepElement getStepElement(String stepElementId);

    List<StepElement> getCurrentStepElement();

    WorkflowStatus getStatus();

    List<StepEntity> getHistoryStepEntities();
}
